<template>
	<view class="item">
		<label class="label" style="float:left">{{label}}</label>
		<image class="slot-image" mode="heightFix" src="/static/logo.png"></image>
	</view>
</template>

<script>
	export default {
		name: "custom-image",
		props: {
			label: {
				type: String,
			},
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.item {
		height: 48px;
		background-color: white;
		margin-bottom: 8px;
		margin-top: 8px;

		.label {
			font-size: 16px;
			color: #12245380;
			line-height: 48px;
			padding: 0px 0px 0px 11px;
		}

		.slot-image {
			height: 30px;
			float: right;
			margin-top: 6px;
			margin-right: 18.5px;
		}
	}
</style>
